#include<iostream>
#include"mili/mili.h"
#include"Speaker.h"


using namespace std;

mili::FactoryRegistry<Talker,std::string> * mili::FactoryRegistry<Talker,std::string>::instance;
int main()
{
    string s;
    Talker* t;

    std::cout << "Que clase queres" << endl;
    std::cin >> s;
    t = mili::FactoryRegistry<Talker,std::string>::new_class(std::string(s));
    t->saidSomething();
    delete t;
    return 0;
}
